-
-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CI(deps): Update black to v25 (major) #5022
Conversation
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving and getting this merged, as it reduces the diff to switch to ruff format after this to only 27 files, being mostly assert with the condition kept on one line and the explanation string on another instead of awkwardly split, and some similar cases in if
conditions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would say this is another good improvement of the style.
Black had only 5 files changed, ruff format was the rest, except for 27 files changed back by black. |
This PR contains the following updates:
24.10.0
->25.1.0
24.10.0
->25.1.0
Note: The
pre-commit
manager in Renovate is not supported by thepre-commit
maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.Release Notes
psf/black (black)
v25.1.0
Compare Source
Highlights
This release introduces the new 2025 stable style (#4558), stabilizing
the following changes:
# fmt: skip
comments is no longer normalized (#4146)*
and more complex type variable tuple (#4440)The following changes were not in any previous release:
split over multiple lines first instead of type parameter definitions (#4553)
Stable style
empty lines (#4484)
with
statements containing tuple generators/unpacking(#4538)
Preview style
(#4498)
string_processing
andwrap_long_dict_values_in_parens
from removingparentheses around long dictionary values (#4377)
wrap_long_dict_values_in_parens
from the unstable to preview style (#4561)Packaging
License-Expression
metadata field, seePEP 639. (#4479)
Performance
is_fstring_start
function in Black's tokenizer (#4541)Integrations
--stdin-filename
set to a force excluded path, stdin won't beformatted. (#4539)
psf/black-pre-commit-mirror (psf/black-pre-commit-mirror)
v25.1.0
Compare Source
Configuration
📅 Schedule: Branch creation - "* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR was generated by Mend Renovate. View the repository job log.